package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the STORAGE_DETAIL database table.
 * 
 */
@Entity
@Table(name="STORAGE_DETAIL")
@NamedQuery(name="StorageDetail.findAll", query="SELECT s FROM StorageDetail s")
public class StorageDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue=1, allocationSize=1,name="STORAGE_DETAIL_SDETAILID_GENERATOR",sequenceName="SEQ2" )
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="STORAGE_DETAIL_SDETAILID_GENERATOR")
	@Column(name="SDETAIL_ID")
	private long sdetailId;

	@Column(name="ESTORAGE_ID")
	private String estorageId;

	@Column(name="SDETAIL_COMP")
	private String sdetailComp;

	@Temporal(TemporalType.DATE)
	@Column(name="SDETAIL_EDATE")
	private Date sdetailEdate;

	@Temporal(TemporalType.DATE)
	@Column(name="SDETAIL_MDATE")
	private Date sdetailMdate;

	@Column(name="SDETAIL_NAME")
	private String sdetailName;

	@Column(name="SDETAIL_NUM")
	private BigDecimal sdetailNum;

	@Column(name="SDETAIL_REMARKS")
	private String sdetailRemarks;

	@Column(name="SDETAIL_TYPE")
	private String sdetailType;

	public StorageDetail() {
	}

	public long getSdetailId() {
		return this.sdetailId;
	}

	public void setSdetailId(long sdetailId) {
		this.sdetailId = sdetailId;
	}

	public String getEstorageId() {
		return this.estorageId;
	}

	public void setEstorageId(String estorageId) {
		this.estorageId = estorageId;
	}

	public String getSdetailComp() {
		return this.sdetailComp;
	}

	public void setSdetailComp(String sdetailComp) {
		this.sdetailComp = sdetailComp;
	}

	public Date getSdetailEdate() {
		return this.sdetailEdate;
	}

	public void setSdetailEdate(Date sdetailEdate) {
		this.sdetailEdate = sdetailEdate;
	}

	public Date getSdetailMdate() {
		return this.sdetailMdate;
	}

	public void setSdetailMdate(Date sdetailMdate) {
		this.sdetailMdate = sdetailMdate;
	}

	public String getSdetailName() {
		return this.sdetailName;
	}

	public void setSdetailName(String sdetailName) {
		this.sdetailName = sdetailName;
	}

	public BigDecimal getSdetailNum() {
		return this.sdetailNum;
	}

	public void setSdetailNum(BigDecimal sdetailNum) {
		this.sdetailNum = sdetailNum;
	}

	public String getSdetailRemarks() {
		return this.sdetailRemarks;
	}

	public void setSdetailRemarks(String sdetailRemarks) {
		this.sdetailRemarks = sdetailRemarks;
	}

	public String getSdetailType() {
		return this.sdetailType;
	}

	public void setSdetailType(String sdetailType) {
		this.sdetailType = sdetailType;
	}

}